//
// Created by tjlhz on 2022/6/25.
//

#ifndef SUMMER_STUDY_COURSEMANAGE_H
#define SUMMER_STUDY_COURSEMANAGE_H


#include "CCourse.h"
#include <vector>
class CourseManage {
public:
    CourseManage();
    ~CourseManage();
    vector<CCourse *> mCourseVec;

    bool InsertCourse(CCourse course);
    bool EditCourse(CCourse course);
    bool DelCourse(CCourse course);

    CCourse * GetCourse(int courseId);
    CCourse * GetCourse(string courseName);
    vector<CCourse *> GetCourseVec(string mSemester);
};


#endif //SUMMER_STUDY_COURSEMANAGE_H
